#include <iostream>
using namespace std;
 
int main(void)
{
  int rabbit, pig, horse;

  cout << "possible combinations: \n" << endl;
  for (rabbit = 0; rabbit <= 200; ++rabbit)
  {
    for (pig = 0; pig <= 33; ++pig)
    {
      for (horse = 0; horse <=10; ++horse)
        {
          float sum = horse * 10 + pig * 3 + rabbit * 0.5;
          if (sum == 100.0) 
            cout << "horse: " << horse << "\t"<< "  pig: " 
              << pig << "\t" <<" rabbit: " << rabbit << endl;
        }
    }
  }
}

      

